export const enum ReflectMeta {
  PATH_META = "path",
  METHOD_META = "method",
  PARAMS_META = "params",
  PROPERTY_META = "property",
  DESCRIPTOR_META = "descriptor",
  RECORD_META = "record"
}

export const enum RequestMethod {
  GET = "get",
  POST = "post",
  DELETE = "delete",
  PUT = "put"
}

export const enum Params {
  Body = "body",
  Query = "query"
}


/**
 * 用于标记模块操作记录
 * ORDER: 订单模块
 * ROLE: 角色模块
 * USER: 用户模块
 */
export enum RecordModule {
  ORDER = "order",
  ROLE = "role",
  USER = "user"
}

/**
 * 用于标记模块纪录中用户的操作方式
 *
 */
export enum OperationType {
  CREATE = "create",
  UPDATE = "update",
  DELETE = "delete",
}
